﻿
<div class="row">
    <div class="col-md-3">
        <div class="box box-primary">
            <div class="box-header with-border">
                <h3 class="box-title">菜单和功能管理</h3>
            </div>
            <div class="box-body">
                <!--for jsTree-->
                <div id="treeDiv" class="portlet-body">
                    <!--填充jstree的内容-->
                </div>
            </div>
        </div>
    </div>

    <div class="col-md-9">
        <div class="box box-primary">
            <div class="box-header with-border">
                <h3 class="box-title">功能列表</h3>
                <div class="pull-right box-tools">
                    <button id="btnAddRoot" class="btn btn-primary" type="button" data-original-title="新增顶层菜单" data-widget="">
                        <i class="fa fa-plus-square"></i>&nbsp;&nbsp;新增顶层菜单
                    </button>
                    <button id="btnAdd" title="" class="btn btn-primary" type="button" data-original-title="新增功能" data-widget="">
                        <i class="fa fa-plus-circle"></i>&nbsp;&nbsp;新增下级
                    </button>
                    <button id="btnLoadRoot" title="" class="btn btn-success" type="button" data-original-title="加载顶层菜单" data-widget="">
                        <i class="fa fa-list"></i>&nbsp;&nbsp;加载顶层菜单
                    </button>
                </div>
            </div>
        </div>

        <div class="model-fade box-body">
            @await Html.PartialAsync("_MenuList")
        </div>
    </div>
</div>


@section Scripts{
    <script src="~/js/menu/index.js"></script>
}